package com.unswift.window.dialog;

import java.awt.Dialog;
import java.awt.Frame;

import javax.swing.JDialog;

public class QuickDialog extends JDialog{

	private static final long serialVersionUID = 3418484116633763972L;

	public QuickDialog() {
		super();
	}
	
	public QuickDialog(Dialog owner, String title, boolean modal) {
		super(owner, title, modal);
	}
	
	public QuickDialog(Frame owner, String title, boolean modal) {
		super(owner, title, modal);
	}
	
	/**
	 * dialog的确认按钮事件
	 */
	public void confirm(){}
	/**
	 * dialog的关闭、取消按钮事件
	 */
	public void close(){
		this.dispose();
	}
	/**
	 * dialog的测试按钮事件
	 */
	public void testting(){}
	/**
	 * dialog打开按钮事件
	 */
	public void opening(){}
	/**
	 * dialog停止按钮事件
	 */
	public void stop(){}
	
	/**
	 * dialog查询按钮事件
	 */
	public void search(){}
	
	/**
	 * dialog替换按钮事件
	 */
	public void replace(){}
}
